package com.yami.shop.bean.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author Yami
 */
@Data
@TableName("tz_person_config")
public class PersonConfig implements Serializable {
    private static final long serialVersionUID = 6222259729062826852L;

    @TableId(type = IdType.AUTO)
    private Long personnftConfigId;

    /**
     * 1转增分享2分享鉴赏3转增4划转5红包
     */
    private String businessType;

    /**
     * 1系统2用户
     */
    private String sourceType;

    /**
     * 分类id
     */
    private String denomId;

    /**
     * 数量
     */
    private Integer count;

    /**
     *商品id
     */
    private Long prodId;

    /**
     * 1免费2付费
     */
    private String paymentType;
    private Integer gasNum;
    private String chainCode;
    /**
     * 修改时间
     */

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
